const mongoose = require('./core')

let NavSchema = mongoose.Schema({
  title: { type: String },
  link: { type: String },
  position: { type: Number },
  is_opennew: {type: Number},
  status: { type: Number, default: 1 },
  sort: {type: Number},
  create_time: { type: Number },
  modify_time: { type: Number }
});

var Nav = mongoose.model('Nav', NavSchema)

module.exports = Nav;
